Satisfiability Modulo Ordering Consistency Theory for SC, TSO, and PSO Memory Models
نویسندگان
چکیده
Automatically verifying multi-threaded programs is difficult because of the vast number thread interleavings, a problem aggravated by weak memory consistency. Partial orders can help with verification they represent many interleavings concisely. However, there no dedicated decision procedure for solving partial-order constraints. In this article, we propose novel ordering consistency theory concurrent program that applicable not only under sequential consistency, but also TSO and PSO models. We further develop an efficient solver, which checks incrementally, generates minimal conflict clauses, includes custom propagation procedure. have implemented our approach in tool, called Zord , conducted extensive experiments on SV-COMP 2020 ConcurrencySafety benchmarks. Our experimental results show significant improvement over state-of-the-art.
منابع مشابه
Programming for Different Memory Consistency Models
The memory consistency model, or memory model, supported by a shared-memory multiprocessor directly affects its performance. The most commonly assumed memory model is sequential consistency (SC). While SC provides a simple model for the programmer, it imposes rigid constraints on the ordering of memory accesses and restricts the use of common hardware and compiler optimizations. To remedy the s...
متن کاملSatisfiability Modulo Theory Chains with DPLL(T)
We extend the DPLL(T) framework for satisfiability modulo theories to address richer theories by means of increased flexibility in the interaction between the propositional and theory-specific solvers. We decompose a rich theory into a chain of increasingly more complex subtheories, and define a corresponding propagation strategy which favors the simpler subtheories using two mechanisms. First,...
متن کاملA Survey of Satisfiability Modulo Theory
Satisfiability modulo theory (SMT) consists in testing the satisfiability of first-order formulas over linear integer or real arithmetic, or other theories. In this survey, we explain the combination of propositional satisfiability and decision procedures for conjunctions known as DPLL(T), and the alternative “natural domain” approaches. We also cover quantifiers, Craig interpolants, polynomial...
متن کاملSound and Complete Monitoring of Sequential Consistency for Relaxed Memory Models
We present a technique for verifying that a program has no executions violating sequential consistency (SC) when run under the relaxed memory models Total Store Order (TSO) and Partial Store Order (PSO). The technique works by monitoring sequentially consistent executions of a program to detect if similar program executions could fail to be sequentially consistent under TSO or PSO. We propose n...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: ACM Transactions on Programming Languages and Systems
سال: 2023
ISSN: ['1558-4593', '0164-0925']
DOI: https://doi.org/10.1145/3579835